﻿using SmartHotel.Dto;
using SmartHotel.HousingPrice.Dto;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace SmartHotel.HousingPrice
{
    public interface ISmartHotelAppHousingPriceService
    {
        Task<ResultDto<CreateandUpdateHousingPriceDto>> CreateHousingPriceAsync(CreateandUpdateHousingPriceDto dto);
        Task<ResultDto<CreateandUpdateHousingPriceDto>> UpdateHousingPriceAsync(CreateandUpdateHousingPriceDto dto);
        Task<ResultDto<bool>> DeleteHousingPriceAsync(int Id);
        Task<ResultDto<HousingPriceDto>> GetFindHousingPriceAsync(int Id);
        Task<PageHousingPriceDto<List<HousingPriceDto>>> GetPageHousingPricesAsync(int pgaeIndex,int pageSize,string ProductName);
        Task<ResultDto<List<HousingPriceDto>>> GetAllHousingPricesAsync();
        Task<ResultDto<List<HousingPriceDto>>> GetIdHousingPricesAsync(int id);
    }
}
